<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一部分-模块二作业1</title>
    <style>
        .content1{
            width: 60%;
            height: 200px;
            margin: 20px auto;
            background-color: pink;
        }
        .content2{
            position: relative;
            width: 60%;
            height: 200px;
            left: 50%;
            background-color: skyblue;
            margin-left: -30%;
        }
    </style>
</head>
<body>
    <div class="content1"></div>
    <div class="content2"></div>
</body>
</html>